package com.woniu.cms.goods.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 结算单附属表，结算单材料详情界面显示的材料信息
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-19
 */
@Getter
@Setter
  @TableName("cms_goods_settle_material")
@ApiModel(value = "GoodsSettleMaterial对象", description = "结算单附属表，结算单材料详情界面显示的材料信息")
public class GoodsSettleMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
      private Integer id;

      @ApiModelProperty("材料名称")
      private String goodsName;

      @ApiModelProperty("材料编码")
      private String goodsCode;

      @ApiModelProperty("规格型号")
      private String modelName;

      @ApiModelProperty("物资类型（0-甲供，1-乙供）")
      private String materialType;

      @ApiModelProperty("单位")
      private String settleUnit;

      @ApiModelProperty("单价")
      private BigDecimal settlePrice;

      @ApiModelProperty("结算数量")
      private BigDecimal settleNum;

      @ApiModelProperty("结算金额")
      private BigDecimal settleMoney;

      @ApiModelProperty("备注")
      private String remarks;

      @ApiModelProperty("经办人")
      private String operator;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("经办时间")
      private Date creatDate;

      @ApiModelProperty("修改信息")
      private String setMsg;

      @ApiModelProperty("结算单外键")
      private Integer settleId;

      @ApiModelProperty("领料单材料外键")
      private Integer outbillMaterialId;

      @ApiModelProperty("入库单材料id（外键）")
      private Integer getbillMaterialId;

}
